package com.jin.common.exception;

/**
 * 库存不足异常，要继承运行时异常
 */
public class NoStockException extends RuntimeException{
    private String skuId;
    public NoStockException(String skuId){
        super("商品id:"+skuId+";商品库存不足");
    }
}
